from django.contrib import admin
from Apps.data.models import article, comment

class articleAdmin(admin.ModelAdmin):
    list_display = ('title', 'pubDate', 'contents')

class commentsAdmin(admin.ModelAdmin):
    list_display = ( 'content', 'userID', 'artID', 'postOnDate')

admin.site.register(article, articleAdmin)
admin.site.register(comment, commentsAdmin)
